from selenium import webdriver
import time
import random
import subprocess

urls = open('start_urls.txt', 'r')

driver = webdriver.Firefox()
driver.get(urls.readline())

time.sleep(4)
subprocess.check_call(['scrapy', 'runspider', 'spider.py'])
